package com.chinacoal.microservice.pojo;

import java.io.Serializable;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 常量配置类
 * @date 2020-12-26 14：10
 */
public class ConstantConfiguration implements Serializable {

    /**
     * 绿米-登录获取token接口
     */
    public static final String luMiInquireToken = "https://aiot-oauth2.aqara.cn/access_token";

    /**
     * 绿米-登录获取Code接口
     */
    public static final String luMiInquireCode = "https://aiot-oauth2.aqara.cn/authorize/code";

    /**
     * 绿米-获取设备信息地址
     */
    public static final String luMiInquireInformation = "https://aiot-oauth2.aqara.cn/3rd/v1.0/open/device/query";

    /**
     * 云丁-登录获取token接口
     */
    public static final String yunDingInquireToken = "https://saas-openapi.dding.net/v2/access_token";

    /**
     * 云丁-设备sn号查询对应的uuid
     */
    public static final String yunDingInquireUuid = "https://saas-openapi.dding.net/v2/get_device_uuid";

    /**
     * 微雨-登录获取token接口
     */
    public static final String weiYuInquireToken = "http://47.110.53.42:9999/v3/Authorizations/systoken";

    /**
     * 微雨-根据sn和型号查询信息地址
     */
    public static final String weiYuInquireInformation = "http://47.110.53.42:9999/v4/devices/detail";

    /**
     * 开票-测试开票请求地址
     */
    public static final String billingRequestAddress = "https://nnfpbox.nuonuocs.cn/shop/buyer/allow/cxfKp/cxfServerKpOrderSync.action";

    /**
     * 开票-发票正式请求地址
     */
    public static final String invoiceOfficialRequestAddress = "https://nnfp.jss.com.cn/shop/buyer/allow/cxfKp/cxfServerKpOrderSync.action";

    /**
     * 开票-测试查询开票信息请求地址
     */
    public static final String invoicingResultAddress = "https://nnfpbox.nuonuocs.cn/shop/buyer/allow/ecOd/queryElectricKp.action";

    /**
     * 开票-正式查询开票信息请求地址
     */
    public static final String formalInvoiceRequestAddress = "https://nnfp.jss.com.cn/shop/buyer/allow/ecOd/queryElectricKp.action";

    /**
     * 微信支付-统一下单地址
     */
    public static final String WXPAY_UNIFIEDORDER_GATEWAY = "https://api.mch.weixin.qq.com/sandboxnew/pay/unifiedorder";

    /**
     * 微信支付-获得沙箱测试key地址
     */
    public static final String TEST_WXPAY_SANDBOX_KEY = "https://api.mch.weixin.qq.com/sandboxnew/pay/getsignkey";

    /**
     * 微信支付-统一下单测试沙箱地址
     */
    public static final String WXPAY_UNIFIEDORDER_GATEWAY_TEST = "https://api.mch.weixin.qq.com/sandboxnew/pay/unifiedorder";

    /**
     * 微信支付-查询地址
     */
    public static final String WXPAY_ORDERQUERY_GATEWAY = "https://api.mch.weixin.qq.com/sandboxnew/pay/orderquery";

    /**
     * 微信支付-关闭订单
     */
    public static final String WXPAY_CLOSEORDER_GATEWAY = " https://api.mch.weixin.qq.com/pay/closeorder";

    /**
     * 微信支付-回复微信的消息
     */
    public static final String NOTIFY_RESPONSE_BODY = "<xml>\n" +
            "  <return_code><![CDATA[SUCCESS]]></return_code>\n" +
            "  <return_msg><![CDATA[OK]]></return_msg>\n" +
            "</xml>";

    /**
     * 微信支付-失败
     */
    public static final String FAIL = "FAIL";

    /**
     * 微信支付-成功
     */
    public static final String SUCCESS = "SUCCESS";

    /**
     *  微信支付-商品描述
     */
    public static String BODY = "房租缴费";
}
